// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_PROD_INVENTORY_ITEM
// * CreateDate    : 2014-06-05 18:30:11
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:11
// * LastChanger   : 2014-06-05 18:30:11
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvProdInventoryItemTable : TableInfo
    {
		public const string C_TableName = "INV_PROD_INVENTORY_ITEM";
		
		public const string C_ID = "ID";
		public const string C_INV_ID = "INV_ID";
		public const string C_INV_NO = "INV_NO";
		public const string C_PROD_SN = "PROD_SN";
		public const string C_PROD_QTY = "PROD_QTY";
		public const string C_UNIT = "UNIT";
		public const string C_CUR_TECHNIC_NO = "CUR_TECHNIC_NO";
		public const string C_TECHNIC_ITEM_ID = "TECHNIC_ITEM_ID";
		public const string C_CUR_WORKGROUP_NO = "CUR_WORKGROUP_NO";
		public const string C_CUR_ASSET_CODE = "CUR_ASSET_CODE";
		public const string C_CUR_TECHNIC_NAME = "CUR_TECHNIC_NAME";
		public const string C_CUR_WORKGROUP_NAME = "CUR_WORKGROUP_NAME";
		
		public InvProdInventoryItemTable()
        {
            _tableName = "INV_PROD_INVENTORY_ITEM";
        }
		
		protected static InvProdInventoryItemTable _current;
        public static InvProdInventoryItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvProdInventoryItemTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_INV_ID, new ColumnInfo(C_INV_ID,"InvId", false, typeof(string)));
            _current.Add(C_INV_NO, new ColumnInfo(C_INV_NO,"InvNo", false, typeof(string)));
            _current.Add(C_PROD_SN, new ColumnInfo(C_PROD_SN,"ProdSn", false, typeof(string)));
            _current.Add(C_PROD_QTY, new ColumnInfo(C_PROD_QTY,"ProdQty", false, typeof(int)));
            _current.Add(C_UNIT, new ColumnInfo(C_UNIT,"Unit", false, typeof(string)));
            _current.Add(C_CUR_TECHNIC_NO, new ColumnInfo(C_CUR_TECHNIC_NO,"CurTechnicNo", false, typeof(string)));
            _current.Add(C_TECHNIC_ITEM_ID, new ColumnInfo(C_TECHNIC_ITEM_ID,"TechnicItemId", false, typeof(string)));
            _current.Add(C_CUR_WORKGROUP_NO, new ColumnInfo(C_CUR_WORKGROUP_NO,"CurWorkgroupNo", false, typeof(string)));
            _current.Add(C_CUR_ASSET_CODE, new ColumnInfo(C_CUR_ASSET_CODE,"CurAssetCode", false, typeof(string)));
            _current.Add(C_CUR_TECHNIC_NAME, new ColumnInfo(C_CUR_TECHNIC_NAME,"CurTechnicName", false, typeof(string)));
            _current.Add(C_CUR_WORKGROUP_NAME, new ColumnInfo(C_CUR_WORKGROUP_NAME,"CurWorkgroupName", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo INV_ID
        {
            get { return this[C_INV_ID]; }
        }
		
		public ColumnInfo INV_NO
        {
            get { return this[C_INV_NO]; }
        }
		
		public ColumnInfo PROD_SN
        {
            get { return this[C_PROD_SN]; }
        }
		
		public ColumnInfo PROD_QTY
        {
            get { return this[C_PROD_QTY]; }
        }
		
		public ColumnInfo UNIT
        {
            get { return this[C_UNIT]; }
        }
		
		public ColumnInfo CUR_TECHNIC_NO
        {
            get { return this[C_CUR_TECHNIC_NO]; }
        }
		
		public ColumnInfo TECHNIC_ITEM_ID
        {
            get { return this[C_TECHNIC_ITEM_ID]; }
        }
		
		public ColumnInfo CUR_WORKGROUP_NO
        {
            get { return this[C_CUR_WORKGROUP_NO]; }
        }
		
		public ColumnInfo CUR_ASSET_CODE
        {
            get { return this[C_CUR_ASSET_CODE]; }
        }
		
		public ColumnInfo CUR_TECHNIC_NAME
        {
            get { return this[C_CUR_TECHNIC_NAME]; }
        }
		
		public ColumnInfo CUR_WORKGROUP_NAME
        {
            get { return this[C_CUR_WORKGROUP_NAME]; }
        }
		
		
		
	}
}

